package com.vrms.app.dao;

import com.vrms.app.entity.Problem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProblemDao {
    List<Problem> listPage(@Param("page")int page,
                           @Param("size")int size,
                           @Param("type")String type);

    int count(@Param("type") String type);

    int save(Problem problem);

    int update(Problem problem);

    int remove(int id);

    List<Problem> list();
}
